/*!
 * @copyright Copyright (c) 2015 IcoMoon.io
 * @license   Licensed under MIT license
 *            See https://github.com/Keyamoon/svgxuse
 * @version   1.1.6
 */
(function(){if(window&&window.addEventListener){var l=Object.create(null),m,q,g=function(){clearTimeout(q);q=setTimeout(m,100)},p=function(){},t=function(){var d;window.MutationObserver?(d=new MutationObserver(g),d.observe(document.documentElement,{childList:!0,subtree:!0,attributes:!0}),p=function(){try{d.disconnect()}catch(l){}}):(document.documentElement.addEventListener("DOMSubtreeModified",g,!1),p=function(){document.documentElement.removeEventListener("DOMSubtreeModified",g,!1)})};m=function(){function d(){--h;
0===h&&t()}function m(a){return function(){var c=document.body,b=document.createElement("x");a.onload=null;b.innerHTML=a.responseText;if(b=b.getElementsByTagName("svg")[0])b.style.position="absolute",b.style.width=0,b.style.height=0,c.insertBefore(b,c.firstChild);d()}}function g(a){return function(){a.onerror=null;a.ontimeout=null;d()}}var c,b,e,f,n,h=0,a,k;window.XMLHttpRequest&&(n=new XMLHttpRequest,n=void 0!==n.withCredentials?XMLHttpRequest:XDomainRequest||void 0);if(void 0!==n){p();k=document.getElementsByTagName("use");
for(f=0;f<k.length;f+=1){try{b=k[f].getBoundingClientRect()}catch(u){b=!1}e=k[f].getAttributeNS("http://www.w3.org/1999/xlink","href").split("#");c=e[0];e=e[1];a=b&&0===b.left&&0===b.right;b&&0===b.width&&0===b.height&&!a?(c.length||!e||document.getElementById(e)||(c=""),c.length&&(a=l[c],!0!==a&&k[f].setAttributeNS("http://www.w3.org/1999/xlink","xlink:href","#"+e),void 0===a&&(a=new n,l[c]=a,a.onload=m(a),a.onerror=g(a),a.ontimeout=g(a),a.open("GET",c),a.send(),h+=1))):a||void 0!==l[c]||
(l[c]=!0)}k="";h+=1;d()}};window.addEventListener("load",function r(){window.removeEventListener("load",r,!1);m()},!1)}})();
